 int removedir(char *argv,char *pwd,int netFd){
    
    char filePath[100] = {0};
    char buf2[100] ={0};
    strcpy(buf2,argv);
    char *word = strtok(buf2," ");//remove
    char *fileName = strtok(NULL," ");//文件名
    sprintf(filePath,"%s%s","./",fileName); //./usr1xxx
    int ret = rmdir(filePath);

    printf("%d\n",ret);
    if(ret != 0){
        char buf1[100];
        sprintf(buf1,"%s%s","$","删除失败！文件夹不存在或不为空！\n");
        send(netFd,buf1,strlen(buf1),MSG_NOSIGNAL);
    }
    char buf[100];
    sprintf(buf,"%s","$");
    send(netFd,buf,strlen(buf),MSG_NOSIGNAL);   
}
